require 'appengine-rack'
require 'application'
# require 'sampleapp' # single model
# require 'sampleapp_1' # dm-core auto setting...but can't work well
# require 'sampleapp_2' # use dm-datastore-adapter...it needs version 0.9.12

AppEngine::Rack.configure_app(
  :application => 'attender-master', # Replace your application id.
  :version => 4                      # Replace your application version.
)

# run lambda { Rack::Response.new("Hello World!") }
# use Rack::Session::Pool, :key => 'rack.session', :path => '/', :expire_after => 3600

# ENV['RACK_ENV'] = 'production'
ENV['RACK_ENV'] = 'development'


run Sinatra::Application

